package cn.wolfcode.luowowo.comment.service;

import cn.wolfcode.luowowo.comment.domain.SceneryComment;
import cn.wolfcode.luowowo.comment.domain.SceneryReply;
import cn.wolfcode.luowowo.comment.query.SceneryCommentQuery;
import cn.wolfcode.luowowo.comment.query.SceneryReplyQuery;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 评论回复服务
 */
public interface ISceneryReplyService {

    SceneryReply save(SceneryReply reply);

    /**
     * 分页
     *
     */
    List<SceneryReply> list();

    /**
     * 查单个
     * @param id
     * @return
     */
    SceneryReply get(String id);

    Page<SceneryReply> query(SceneryReplyQuery qo);

    Page<SceneryReply> findReplyByCommentId(SceneryReplyQuery qo);

}
